package com.example.demo_job.service;



import com.example.demo_job.entity.*;

import java.util.List;

public interface SeekerService {
    int register(String susername, String sname, String spassword, int sedu, String sgender, String sphone);

    Seeker findByUsername(String susername);


    Seeker login(String susername, String spassword);


    Recruit applyPosition(String susername,int pid);

    Recruit cancelApplyPosition(String susername,int pid);

    List<Position> findPositionByHot();

    String findPositionPath(int cid, String pname);

    String findSinfo(String susername);

    void write(String tsinfo,String cv);

    List<ComPosition> searchForPositionByPos(String keyword);

    List<OneComMulPosition> searchForPositionByCom(String keyword);

    List<ComPosition> findComPositionByHot(List<Position> positionByHot);

    void revisePassword(int sid, String newPassword);

    List<ComPosition> showApplyComPosition(int sid);

    int findSeekerSidBySusername(String susername);

    String showSeekerCv(String sinfo);

    Recruit judgeApplyPosition(String susername, int pid);

    List<Company> showAllCompany();

    List<OneComMulPosition> showAllCompanyPosition(List<Company> companyList);

    List<Position> showPosition();

    List<OnePositionMulCompany> PositionClassify(List<Position> positionList);

    Seeker findSeekerBysid(int sid);
}
